package com.xoa.dev.pz.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.xoa.model.enclosure.Attachment;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

public class PzPersonService {

    private String gridName;
    private String userName;
    private Integer gridId;
    private String gUserName;

    //附件集合
    List<Attachment> attachmentList;
    public String getgUserName() {
        return gUserName;
    }

    public void setgUserName(String gUserName) {
        this.gUserName = gUserName;
    }

    public String getGridName() {
        return gridName;
    }

    public void setGridName(String gridName) {
        this.gridName = gridName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getGridId() {
        return gridId;
    }

    public void setGridId(Integer gridId) {
        this.gridId = gridId;
    }

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_person_service.SID
     *
     * @mbggenerated
     */
    private Integer personId;

    public Integer getPersonId() {
        return personId;
    }

    public void setPersonId(Integer personId) {
        this.personId = personId;
    }

    private Integer sid;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_person_service.TIME
     *
     * @mbggenerated
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_person_service.ADDRESS
     *
     * @mbggenerated
     */
    private String address;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_person_service.GRID_USER
     *
     * @mbggenerated
     */
    private String gridUser;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_person_service.SERVER_FOLLOW
     *
     * @mbggenerated
     */
    private String serverFollow;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_person_service.RECORD_TYPE
     *
     * @mbggenerated
     */
    private String recordType;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_person_service.CONTENT
     *
     * @mbggenerated
     */
    private String content;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_person_service.PROFESS_ID
     *
     * @mbggenerated
     */


    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_person_service.PROFESS_FLAG
     *
     * @mbggenerated
     */
    private String professFlag;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_person_service.REMARK1
     *
     * @mbggenerated
     */
    private String remark1;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column pz_person_service.REMARK2
     *
     * @mbggenerated
     */
    private String remark2;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_person_service.SID
     *
     * @return the value of pz_person_service.SID
     *
     * @mbggenerated
     */
    public Integer getSid() {
        return sid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_person_service.SID
     *
     * @param sid the value for pz_person_service.SID
     *
     * @mbggenerated
     */
    public void setSid(Integer sid) {
        this.sid = sid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_person_service.TIME
     *
     * @return the value of pz_person_service.TIME
     *
     * @mbggenerated
     */
    public Date getTime() {
        return time;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_person_service.TIME
     *
     * @param time the value for pz_person_service.TIME
     *
     * @mbggenerated
     */
    public void setTime(Date time) {
        this.time = time;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_person_service.ADDRESS
     *
     * @return the value of pz_person_service.ADDRESS
     *
     * @mbggenerated
     */
    public String getAddress() {
        return address;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_person_service.ADDRESS
     *
     * @param address the value for pz_person_service.ADDRESS
     *
     * @mbggenerated
     */
    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_person_service.GRID_USER
     *
     * @return the value of pz_person_service.GRID_USER
     *
     * @mbggenerated
     */
    public String getGridUser() {
        return gridUser;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_person_service.GRID_USER
     *
     * @param gridUser the value for pz_person_service.GRID_USER
     *
     * @mbggenerated
     */
    public void setGridUser(String gridUser) {
        this.gridUser = gridUser == null ? null : gridUser.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_person_service.SERVER_FOLLOW
     *
     * @return the value of pz_person_service.SERVER_FOLLOW
     *
     * @mbggenerated
     */
    public String getServerFollow() {
        return serverFollow;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_person_service.SERVER_FOLLOW
     *
     * @param serverFollow the value for pz_person_service.SERVER_FOLLOW
     *
     * @mbggenerated
     */
    public void setServerFollow(String serverFollow) {
        this.serverFollow = serverFollow == null ? null : serverFollow.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_person_service.RECORD_TYPE
     *
     * @return the value of pz_person_service.RECORD_TYPE
     *
     * @mbggenerated
     */
    public String getRecordType() {
        return recordType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_person_service.RECORD_TYPE
     *
     * @param recordType the value for pz_person_service.RECORD_TYPE
     *
     * @mbggenerated
     */
    public void setRecordType(String recordType) {
        this.recordType = recordType == null ? null : recordType.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_person_service.CONTENT
     *
     * @return the value of pz_person_service.CONTENT
     *
     * @mbggenerated
     */
    public String getContent() {
        return content;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_person_service.CONTENT
     *
     * @param content the value for pz_person_service.CONTENT
     *
     * @mbggenerated
     */
    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_person_service.PROFESS_ID
     *
     * @return the value of pz_person_service.PROFESS_ID
     *
     * @mbggenerated
     */


    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_person_service.PROFESS_ID
     *
     * @param presonId the value for pz_person_service.PROFESS_ID
     *
     * @mbggenerated
     */


    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_person_service.PROFESS_FLAG
     *
     * @return the value of pz_person_service.PROFESS_FLAG
     *
     * @mbggenerated
     */
    public String getProfessFlag() {
        return professFlag;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_person_service.PROFESS_FLAG
     *
     * @param professFlag the value for pz_person_service.PROFESS_FLAG
     *
     * @mbggenerated
     */
    public void setProfessFlag(String professFlag) {
        this.professFlag = professFlag == null ? null : professFlag.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_person_service.REMARK1
     *
     * @return the value of pz_person_service.REMARK1
     *
     * @mbggenerated
     */
    public String getRemark1() {
        return remark1;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_person_service.REMARK1
     *
     * @param remark1 the value for pz_person_service.REMARK1
     *
     * @mbggenerated
     */
    public void setRemark1(String remark1) {
        this.remark1 = remark1 == null ? null : remark1.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column pz_person_service.REMARK2
     *
     * @return the value of pz_person_service.REMARK2
     *
     * @mbggenerated
     */
    public String getRemark2() {
        return remark2;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column pz_person_service.REMARK2
     *
     * @param remark2 the value for pz_person_service.REMARK2
     *
     * @mbggenerated
     */
    public void setRemark2(String remark2) {
        this.remark2 = remark2 == null ? null : remark2.trim();
    }

    public List<Attachment> getAttachmentList() {
        return attachmentList;
    }

    public void setAttachmentList(List<Attachment> attachmentList) {
        this.attachmentList = attachmentList;
    }
}